<extend name="Public:base" />

<block name="content">
	<div class="page-header">

		<a href="{:U('BankList/add')}" class="btn btn-primary btn-sm radius5">新增</a>
	</div>

	<div class="table-responsive">
		<table class="table table-striped table-bordered table-hover" id="mytable">
			<thead>
				<tr>

					<th>银行名字</th>

					<th>状态</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
					<volist name="list" id="data" empty="$empty">
					<tr>
						<td>{$data.bank_name}</td>
						<td>
							<switch name="data.status">
								<case value="1">
									<span class="green bold">启用</span>
								</case>
								<case value="0">
									<span class="red bold">禁用</span>
								</case>
							</switch>
						</td>
						<td>
							<a class="btn btn-xs btn-info radius5" href='{:U("BankList/edit",array("id"=>$data["bank_id"]))}' >
								<!-- <i class="icon-edit bigger-120"></i> -->
								<i class="ace-btn fo">编辑</i>
							</a>
						</td>
					</tr>
					</volist>

					<tr>
						<td colspan="5" class="page">{$page}</td>
					</tr>
			</tbody>

		</table>
	</div>
</block>